﻿#include"Date.h"
#include<iostream>
using namespace std;

int main() {
	Date a(2024, 5, 18);
	Date b(2022, 6, 22);
	Date c(1999, 12, 31);
	Date d;

	b = a;
	c = Date(2024, 5, 19);

	cout << "a = " << a << '\n';
	cout << "b = " << b << '\n';
	cout << "c = " << c << '\n';
	cout << "d的前一天是：" << d.preceding_day() << '\n';

	cin.get();
}